<UserControl x:Class="Infrastructure.Views.NavigationView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vm="clr-namespace:Infrastructure.ViewModels"
    xmlns:t="clr-namespace:Infrastructure.Theming"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400"
    d:DataContext="{d:DesignInstance d:Type=vm:NavigationViewModel}">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Infrastructure.Client;component/Assets/Themes/DefaultTheme.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Button Template="{StaticResource InvisibleButton}" Margin="5" Command="{Binding NavigationCommand}" CommandParameter="{Binding Destination}">
        <TextBlock Text="{Binding Title}" FontSize="24" FontWeight="Bold" Margin="10" t:Theme.Foreground="{StaticResource MenuText}"/>
    </Button>
</UserControl>
